TryGet<T>(IPdfArray,Int32,T,Boolean) Method
In This Topic
Tries to get the value at the specified index. Note! This method returns IPdfRef if is IPdfRef, otherwise the method resolves the reference and returns *actual* object.
Syntax
'Declaration
Public Overloads Shared Function TryGet(Of As IPdfObject)( _
ByVal As IPdfArray, _
ByVal As System.Integer, _
ByRef As , _
Optional ByVal As System.Boolean _
) As System.Boolean
public static System.bool TryGet<>(
IPdfArray ,
System.int ,
out ,
System.bool
)
where T: IPdfObject
Parameters
- array
- The current array.
- index
- The index of the value to get.
- value
- OUT: The value at specified index.
- addWarning
- Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if value at the specified index can't be converted to the .
Type Parameters
- T
Return Value
true if successful; false otherwise.
See Also